package com.woniuxy.carlife.carlifenewcomplaintsweb.service;

import com.woniuxy.carlife.carlifenewcomplaintsdomain.dto.StoreMessageDto;
import com.woniuxy.carlife.carlifenewcomplaintsdomain.param.StoreMessageParam;
import com.woniuxy.carlife.carlifenewcomplaintsweb.domain.StoreMessage;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * @author yp
 * @ClassName:StoreMessageService
 * @Description:门店消息服务
 * @date 2021/4/7 2:32
 **/
public interface StoreMessageService extends IService<StoreMessage> {

    /*
     * 功能描述〈新增门店消息〉
     * @author:yp
     * @param:StoreMessageParam
     * @return:
     * @Date 2021/4/12 14:00
     * @throws
     */
    public int  addStoreMessage(StoreMessageParam storeMessageParam);


    /*
     * 功能描述〈查询门店消息〉
     * @author:yp
     * @param:StoreMessageParam
     * @return:
     * @Date 2021/4/12 14:05
     * @throws
     */
    public List<StoreMessageDto> findStoreMessage(Integer storeId);



    /*
     * 功能描述〈修改门店消息状态〉
     * @author:yp
     * @param: StoreMessageParam
     * @return:
     * @Date 2021/4/12 14:08
     * @throws
     */
    public int  updateStoreMessage(Integer storeMessageId);



    /*
     * 功能描述〈删除门店消息〉
     * @author:yp
     * @param:
     * @return:
     * @Date 2021/4/12 14:10
     * @throws
     */
    public int  deleteStoreMessageParam(Integer storeMessageId);


}
